package com.mrogrape.notepad.activity.action.item;

import java.awt.event.ActionEvent;

import javax.swing.Action;

import com.mrogrape.notepad.activity.action.NotepadAction;
import com.mrogrape.notepad.data.ViewContext;


public class UpdateLogsMenuItemAction extends NotepadAction{

	/** serialVersionUID */
	private static final long serialVersionUID = -1L;

	public UpdateLogsMenuItemAction(){

		super.putValue(Action.NAME, "Update Logs...");
		super.putValue(Action.SHORT_DESCRIPTION, "Show update logs about JNotepad");
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {

		ViewContext.getUpdateInfoDialog().setVisible(true);
	}
}
